package com.vrms.app.service;

import com.vrms.app.entity.Worker;

import java.util.List;

public interface WorkerService {
    List<Worker> listPage(int page,
                          int size,
                          String username);
    int count(String username);

    boolean save(Worker worker);

    boolean update(Worker worker);

    boolean remove(int id);

    List<Worker> list();
}
